package nancal.mp.db.mongo.entity.dev

import nancal.mp.db.mongo.JenkinsLanguageEnum
import nbcp.base.db.annotation.DbEntityGroup
import nbcp.base.model.BaseMarkEntity
import org.springframework.data.mongodb.core.mapping.Document

/**
 * 没用。
 */
@Document
@DbEntityGroup("dev")
class AppDeployPipelineHook(
    var name: String = "",
    var language: JenkinsLanguageEnum = JenkinsLanguageEnum.Java,
    var define: JenkinsDependencyCheckDefine = JenkinsDependencyCheckDefine(),
    var remark: String = "",
    var sort: Number = 0F,
) : BaseMarkEntity()




class JenkinsDependencyCheckDefine(
    var component: String = "",
    var minVersion: String = "",
    var maxVersion: String = ""
)
